home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Looking for a clear screen function
- Date: 19 Feb 1996 15:28 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <19FEB199615280719@erich.triumf.ca>
- References: <4gaeba$d9h@nkosi.well.com>
- NNTP-Posting-Host: ftp.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4gaeba$d9h@nkosi.well.com>, rickyarm@well.com () writes...
- >Hello there,
- >
- >Does anyone know of a clear screen function to use both in turboC++ on
- >a PC and one to use in standard C for Unix machines
-
- Any fancy screen manipulation (actually, anything more complex than printing
- where the cursor happens to be) is very platform dependent. The C language
- itself doesn't provide any support for this.
-
- For MS-DOS text mode, Borland provides clrscr(), prototyped in conio.h. For
- graphics, there is cleardevice(), in graphics.h. (don't know about Windoze)
-
- For unix, the usual suggestion seems to be to use the "curses" library.
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-
-
-
-